package com.kxp.easyatm.dao.impl;

import com.kxp.easyatm.dao.BaseDao;
import com.kxp.easyatm.dao.CustomDao;
import com.kxp.easyatm.entity.Custom;

/**
 * @author longhunpomie
 * @declaration
 * @email 3314028177@qq.com
 * @create 2023/11/25-10:17
 */
public class CustomDaoImpl extends BaseDao<Custom> implements CustomDao {
    @Override
    public Custom login(String account, String pin) {
        String sql = "select * from k_custom where account=? and pin=?";

        return getInstance(sql, account, pin);
    }
}
